package com.learn.core.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @auther CodeGenerator
 * @create 2021-03-14 13:16:28
 * @describe 实体类
 */
@TableName("l_theme")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LTheme对象", description="")
public class LTheme implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "theme_id", type = IdType.AUTO)
    private Integer themeId;

    @ApiModelProperty(value = "主题名")
    @TableField("theme_name")
    private String themeName;

    @ApiModelProperty(value = "主题状态")
    @TableField("theme_state")
    private String themeState;

    @ApiModelProperty(value = "父节点")
    @TableField("parent_node")
    private Integer parentNode;

    @TableField("description")
    private String description;

    @TableField("create_org")
    private Integer createOrg;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @TableField("create_user")
    private String createUser;

    @TableField("update_time")
    private Date updateTime;

    @TableField("update_user")
    private String updateUser;

    @TableField(exist = false)
    private String creatOrgName;

    @TableField(exist = false)
    private List<LTheme> chilLTheme;

    public String getCreatOrgName() {
        return creatOrgName;
    }

    public void setCreatOrgName(String creatOrgName) {
        this.creatOrgName = creatOrgName;
    }

    public List<LTheme> getChilLTheme() {
        return chilLTheme;
    }

    public void setChilLTheme(List<LTheme> chilLTheme) {
        this.chilLTheme = chilLTheme;
    }

    public String getThemeState() {
        return themeState;
    }

    public void setThemeState(String themeState) {
        this.themeState = themeState;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getCreateOrg() {
        return createOrg;
    }

    public void setCreateOrg(Integer createOrg) {
        this.createOrg = createOrg;
    }

    public Integer getThemeId() {
        return themeId;
    }

    public LTheme setThemeId(Integer themeId) {
        this.themeId = themeId;
        return this;
    }

    public String getThemeName() {
        return themeName;
    }

    public LTheme setThemeName(String themeName) {
        this.themeName = themeName;
        return this;
    }


    public Integer getParentNode() {
        return parentNode;
    }

    public LTheme setParentNode(Integer parentNode) {
        this.parentNode = parentNode;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public LTheme setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getCreateUser() {
        return createUser;
    }

    public LTheme setCreateUser(String createUser) {
        this.createUser = createUser;
        return this;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public LTheme setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public LTheme setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
        return this;
    }

    @Override
    public String toString() {
        return "LTheme{" +
                "themeId=" + themeId +
                ", themeName='" + themeName + '\'' +
                ", themeState='" + themeState + '\'' +
                ", parentNode=" + parentNode +
                ", description='" + description + '\'' +
                ", createOrg='" + createOrg + '\'' +
                ", createTime=" + createTime +
                ", createUser='" + createUser + '\'' +
                ", updateTime=" + updateTime +
                ", updateUser='" + updateUser + '\'' +
                '}';
    }
}